@import "~common/css/_variables.scss";

// 弹窗盒子
:global {
  .ant-modal-header {
    height: 56px;
  }

  // .ant-modal-body {
  // padding-top: 0px !important;
  // }
}

.search_Model {
  position: absolute;
  top: 50px;
  left: 260px;
  width: 425px;
  height: 500px;
  background-color: #F6F6F8;
  border-top: 1px solid #E0E0E0;
}

// 播放列表
.play_list {
  position: fixed;
  z-index: 100;
  bottom: 70px;
  right: 0;
  width: 420px;
  height: calc(100vh - 132px);
  background-color: #fff;
  overflow: hidden;
  transform-origin: right bottom;
  transition: ease 0.3s all;
  box-shadow: -4px 0 4px -4px $color;

  .close {
    position: absolute;
    top: 0;
    cursor: pointer;
    right: 10px;
    width: 40px;
    height: 40px;
    background: url("~common/images/icon_close.png") center center / 12px no-repeat;
  }

  .title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    background-color: #f5f5f7;
    border-bottom: 1px solid #e5e6ea;

    li {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100px;
      height: 28px;
      color: $c999;
      font-size: $fz13;
      cursor: pointer;
      background-color: #fff;

      &.active {
        color: $cfff;
        background-color: #7c7d85;
      }

      &:first-child {
        border-radius: 4px 0 0 4px;
      }

      &:last-child {
        border-radius: 0 4px 4px 0;
      }
    }
  }

  .tool {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    height: 30px;
    background-color: #f9f9f9;

    p {
      &:last-child {
        cursor: pointer;
      }
    }
  }

  .scroll {
    width: 100%;
    height: calc(100% - 70px);

    ul {
      font-size: $fz13;

      li {
        display: flex;
        align-items: center;
        height: 30px;

        p {
          &:nth-child(1) {
            width: 40px;
            height: 30px;
            line-height: 30px;
            text-align: center;
          }

          &:nth-child(2) {
            width: 340px;
            color: $c333;
            padding-right: 10px;
          }

          &:nth-child(3) {
            width: 110px;
            color: $c888;
          }

          &:nth-child(4) {
            width: 100px;
            padding-right: 30px;
            text-align: right;
          }

          &.icon_play {
            background: url("~common/images/icon_play_red.png") center center / 12px no-repeat;
          }

          &.icon_pause {
            background: url("~common/images/icon_pause_red.png") center center / 14px no-repeat;
          }
        }

        &:nth-child(odd) {
          background-color: #fff;
        }

        &:nth-child(even) {
          background-color: #f5f5f7;
        }

        &.active {
          background-color: #e3e3e5 !important;
        }

        &:hover {
          background-color: #ebeced;

          p {
            &:nth-child(3) {
              color: $c333;
            }
          }
        }
      }
    }
  }
}